Remove relic from pre-cet time.
authoroliskoli <oliskoli>
Fri, 27 Jan 2006 00:27:49 +0000 (00:27 +0000)
committeroliskoli <oliskoli>
Fri, 27 Jan 2006 00:27:49 +0000 (00:27 +0000)
gdb.c

diff --git a/gdb.c b/gdb.c
index 67df8177b4d27fd39ceaac2fa81d80d9a6a8484d..58b6f5a37c947fc456e2ba7dba7069a2bf1a515f 100644 (file)
--- a/gdb.c
+++ b/gdb.c
@@ -991,9 +991,8 @@ gdb_fwrite_str(const char *str, const int len)
            gdb_fwrite(str, len);       /* write a string with fixed length */
        else
        {
-           char *tmp = str_utf8_to_cp1252((str != NULL) ? str : "");
+           char *tmp = (str != NULL) ? (char *)str : "";
            gdb_fwrite(tmp, strlen(tmp) + 1);
-           xfree(tmp);
        }
 }